{{extend 'layout.html'}}
<link rel="stylesheet" type="text/css" href="{{=URL(c='static', f='css/styles2.css')}}">
   
<h3>Add Image</h3>
{{=form}}
<div id="slapholder">
<h1>Current Images</h1><small>Click image to delete it</small><br /><br />
<a href="javascript:refresh_images();">refresh images</a>
<div id="output">
</div>
<div id="list">
</div>
<script>
function refresh_images() {
	$('#list').load('{{=URL(f='listimg')}}');
}
refresh_images();
</script>
<div class="clear"></div>
</div>